package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(5);
        System.out.println(p);
        p.setX(6);
        System.out.println(p);
    }
}
